<?xml version="1.0" encoding="UTF-8"?>


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

    <xsl:template match="/FlowerList">
    <div id="list-product">
            <xsl:for-each select="Flower">
                <form method="post" action="Controller">
                    <div class="box-product">
                         <div id="img-product">
                                 <img style="height:222px; width:175px">
                                    <xsl:attribute name="src" >
                                        <xsl:value-of select="'/FlowerShop/'"/>
                                        <xsl:value-of select="Image"/>
                                    </xsl:attribute>
                                </img>
                         </div>
                    <p class="name-product"><xsl:value-of select="ProductName"/></p>
                    <p class="price" >Giá: <xsl:value-of select="Price"/> VNĐ</p>
                    <a class="btn-addcart"> <xsl:attribute name="href">
                        javascript:AddToCart(<xsl:value-of select="ProductId"/>,<xsl:value-of select="ProductName"/>,<xsl:value-of select="Price"/>)</xsl:attribute></a>
                    <a class="detail">
                        <xsl:attribute name="href">javascript:DetailFlower('<xsl:value-of select="ProductId"/>')</xsl:attribute>
                    Detail</a>
                    </div>
                </form>
            </xsl:for-each>
              </div>
    </xsl:template>
</xsl:stylesheet>

                    
                       
                        

  